export interface IGetAnyConstantResponseData {
  id: number | undefined
  tag: string
  value: string
  note: string
  isDel?: number
  isAuthority?: boolean
}

export interface IGetAuthorityValueResponseData {
  id: number | undefined
  tag: string
  value: string
  parentId: number
  isGranted: number | null
  children: IGetAuthorityValueResponseData[]
}
export interface IUpdateAnyConstantRequestData {
  id: number | undefined
  tag: string
  value: string
  note: string
}

export type GetAnyConstantResponseData = IApiResponseData<{
  total: number
  list: IGetAnyConstantResponseData[]
}>

export type GetAuthorityValueResponseData = IApiResponseData<{
  list: IGetAuthorityValueResponseData[]
}>
